package me.firstapp.repository.system;

import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.system.ApiClient;
import me.firstapp.repository.base.EntityRepository;

public interface ApiClientRepository extends EntityRepository<ApiClient> {

	/**
	 * 通过key获取ApiClient
	 * 
	 * @param apiKey
	 */
	ApiClient findApiClientByKey(String apiKey);
	
	Page<ApiClient> findApiClientPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams, String sortParam,
			String sortType);
}
